%h1
  New billing_order
- form_for(@billing_order) do |f|
= f.error_messages
%p
  = f.label :account_id
  %br
  = f.text_field :account_id
/
  <p>
  <haml:loud> f.label :user_id </haml:loud><br />
  <haml:loud> f.text_field :user_id </haml:loud>
  </p>
/
  <p>
  <haml:loud> f.label :status </haml:loud><br />
  <haml:loud> f.text_field :status </haml:loud>
  </p>
/
  <p>
  <haml:loud> f.label :action </haml:loud><br />
  <haml:loud> f.text_field :action </haml:loud>
  </p>
/
  <p>
  <haml:loud> f.label :ref_operation_id </haml:loud><br />
  <haml:loud> f.text_field :ref_operation_id </haml:loud>
  </p>
%p
  = f.label :note
  %br
  = f.text_area :note
/
  <p>
  <haml:loud> f.label :ip_address </haml:loud><br />
  <haml:loud> f.text_field :ip_address </haml:loud>
  </p>
%p
  = f.label :amount
  %br
  = f.text_field :amount
/
  <p>
  <haml:loud> f.label :amount_tax </haml:loud><br />
  <haml:loud> f.text_field :amount_tax </haml:loud>
  </p>
  <p>
  <haml:loud> f.label :amount_shipping </haml:loud><br />
  <haml:loud> f.text_field :amount_shipping </haml:loud>
  </p>
  <p>
  <haml:loud> f.label :amount_total </haml:loud><br />
  <haml:loud> f.text_field :amount_total </haml:loud>
  </p>
%p
  = f.label :created_at
  %br
  = f.date_select :created_at
%p
  = f.label :updated_at
  %br
  = f.date_select :updated_at
%p
  = f.submit 'purchase'
- end
= link_to 'Back', billing_orders_path
